package com.cloud.order.entity;

import com.cloud.product.entity.Product;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Objects;

/**
 * packageName com.cloud.order
 *
 * @author yanshuanglong
 * @version JDK 8
 * @className entity
 * @date 2025/3/17
 * @description TODO
 */
@Data
public class Order {
    private Long id;
    private BigDecimal totalAmount;
    private Long userId;
    private String userName;
    private String address;
    private List<Product> productList;
}
